#pragma once

#include "Entity.h"
#include "Menu.h"
#include "Game.h"
#include "Synch.h"
#include "LostVector.h"
#include "Structures.h"

class Model
{
private:
	Menu menu;
	Game game;
	Synch synch;
	int state;
	bool newState;
private:
	LostVector<DrawStruct> drawList;
	LostVector<SoundStruct> playList;
private:
	Model();
public:
	void changeState(int newState);
	static Model* getInstance(){static Model instance; return &instance;}
	~Model(){}
	bool Update(InputStruct);
	void Draw(LostVector<DrawStruct>*, LostVector<SoundStruct>*);
};